DIO#.SOURCE
Description
DIO#.SOURCE sets the digital output source when the digital IO pin is configured as an output through DIO#.DIR.
Value | Description |
---|---|
0 - User | User controls the output value using DIO#.STATEU |
1 - Action Table | Action table controls the output value |
2 - Fieldbus A Fieldbus is an industrial network system for real-time distributed control (e.g. CAN or Profibus). It is a way of connecting instruments in a plant design | Fieldbus controls the output value |
4 - Compare | Compare channel controls the output value |
Examples
Usage
0: User controlled. DIO#.STATE is set by DIO#.STATEU.
1: Action table controlled. DIO#.STATE is set by the assigned action, if any.
2: Fieldbus controlled. DIO#.STATE is set by the fieldbus output control 3681h Digital output control sub 1.
4: Compare channel controlled. DIO#.STATE is set by the compare channel output. The specific channel is selected by DIO#.SOURCEID.
Code
Changing output state with STATEU and then changing SOURCE to be action table with no action configured:
--> DIO1.DIR 1
--> DIO1.SOURCE 0
--> DIO1.STATE 0
--> DIO1.STATEU 1
--> DIO1.STATE 1
--> DIO2.DIR 1
--> DIO2.SOURCE 1
--> DIO2.STATE 0
Context
For more information see Digital Inputs and Outputs.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 | |
Added Compare source | 02-06-00-000 |
General Information
Type | Read/Write |
Units | N/A |
Range | 0, 1, 2, 4 |
Default Value | 0 |
Data Type | Integer |
See Also | |
Stored in Non Volatile Memory |
Yes |
Variants Supported
All variants are supported
Fieldbus Information
Fieldbus | Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDO PDO is a type of protocol frame used in some fieldbuses. A PDO contains one or more object dictionary entries, which define the application data transferred between devices. Mappable |
---|---|---|---|---|---|---|---|---|
EtherCAT ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs COE and CANopen | DIO1.SOURCE | 0x368A | 0x5 | USINT | - | - | RW | False |
DIO2.SOURCE | 0x368B | 0x5 | USINT | - | - | RW | False | |
DIO3.SOURCE | 0x368C | 0x5 | USINT | - | - | RW | False | |
DIO4.SOURCE | 0x368D | 0x5 | USINT | - | - | RW | False | |
DIO5.SOURCE | 0x368E | 0x5 | USINT | - | - | RW | False | |
DIO6.SOURCE | 0x368F | 0x5 | USINT | - | - | RW | False |